package com.jzm.base.service;

import java.util.List;

import com.jzm.base.mapper.MyMapper;

public interface BaseService<D extends MyMapper<T>, T> {
	List<T> selectAll();

	void deleteByPrimaryKey(T t);

	int insert(T t);

	int insertSelective(T t);

	int batchInsert(List<T> list);

	T selectByPrimaryKey(T t);

	List<T> selectByExample(T t);
	List<T> select(T t);
	
	int updateByPrimaryKey(T t);
}